<template>
	<view class="fixed left-0 right-0 bottom-0 flex justify-center item-center bg-blue h-_92">
		<image class="icon" :src="imgurl + 'common/icon-tel.png'"  @click="callPhone"></image>
		<text class="text-sm ml-1" @click="callPhone">点击即可免费咨询</text>
	</view>
</template>

<script>
import { imgurl } from '@/utils/constant.js'
export default {
	name: 'common-footer',
	data() {
		return {
			imgurl
		}
	},
	methods: {
		callPhone() {
			uni.makePhoneCall({
				phoneNumber: '400-967-1517'
			})
		}
	}
}
</script>

<style scoped>
.icon {
	width: 64rpx;
	height: 64rpx;
}
</style>
